<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/8 0008
 * Time: 上午 1:24
 */
include "config.php";
$uname=$_REQUEST["uname"];
$pid=$_REQUEST["pid"];
$delSQL="DELETE FROM goodinfo WHERE u_name=? AND p_id=?";
$stmt=$conn->prepare($delSQL);
$stmt->bind_param("ss",$uname,$pid);
$stmt->execute();